home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS15.ADF
/
Progs
/
Sizzlers.doc
< prev
next >
Wrap
Text File
|
1988-04-20
|
5KB
|
84 lines
SIZZLERS!
Graphics Hors d'oeuvres
V1.0.0 by Greg Epley
Copyright (c) 1986 - Insight (tm) Software Development
SIZZLERS! is a series of graphic specialties originally written in MSB. The
original programs resided seperately because of the 320 x 400 resolution mode
I used (this just generally looks better than 320 x 200 or 640 x 200 which
makes the "jaggies" very noticeable). Also, AmigaBASIC took up quite a bit
of memory, as did the interlaced screen, which slowed everything down. This
version, one of my first Modula-2 programs, contains ALL 5 routines in ONE
program, does it at lightning speed, in 640 x 400, and has a help requester.
This program is an original, not based on anything I had seen before. This
is a shareware program, which means you don't have to send a donation -
however, I have lots of other neat projects up my sleeve, and would like to
share them, and the only way I can afford to do that is with a little of
your help, so please send something if you want to contribute (please include
your return address on any correspondence so I can keep records). One more
thing, if anybody is using TDI Modula-2 (system ver. 2.00A, compiler ver.
2.20), I need help with the Intuition pointer (I mean the little red arrow
pointer). I need to know how to "knock" it out so it doesn't show up if it's
not needed in one of my programs. The Amiga Tech Manuals say that all you
have to do is set the SPRITES flag in the ViewModes structure, and use OFF_
SPRITE to turn the sprite display off (this is on pg. 110 of the ROM Kernal:
Libraries and Devices manual, at the bottom). I did this in Modula-2 and
IMPORTed and called everything like I was supposed to, but all I get is a
display of technicolor "snow" and the machine locks up. HELP!!!! Well, on
to the program SIZZLERS!
******* SIZZLERS! - Documentation - for version 1.0.0 - October 5, 1986 *******
This program works entirely on keyboard input except for the requesters, and
you know what to do with them. Press:
F1 key - this displays "Flops", a group of 4 lines that flip and bump
in unison while changing colors. This has some interesting
moire and color effects when the lines move over each other.
F2 key - this displays "Tri-tricks", a large triangle that moves up
and down the display while shrinking and expanding and
changing colors. This also has some interesting moire efects
and some weirdly twisting triangles.
F3 key - this displays "Cubic Illusions", a large trapezoid figure
which moves about the screen changing colors, and sometimes
twists into another dimension (unfortunately, you can only
simulate this other dimension, so you'll have to use your
imagination).
F4 key - this displays "Pyri-flip", another large triangle, but this
one moves and changes every which way. This has even weirder
triangles and other effects I can't describe, than Tri-tricks.
F5 key - this displays "Quad-3", a variation of Pyri-flip, but mirrors
the image into 3 other quadrants simultaneously. There is a
small bug that I left in, because the routine gets "stuck"
sometimes and the offsets to the images stay the same. This
will produce some unusual bands of color that produce an
image with a Mexican or Spanish flavor. Don't panic when
this happens, it will un-stick itself in a few iterations.
HELP key - this displays a requestor that briefly tells which key does
what, so you don't have to drag out this 'doc'. Click on the
"Leave Help" gadget to resume sizzling.
ESC key - this, heaven forbid, will let you end the program (I can't
imagine why you would want to do that! - just kidding).
These routines appear to be fairly simple in what they display, and this is
true, but there are lots of calculations going on in the background, and EVERY
line you see on the display is INDIVIDUALLY drawn each time. You can clear
the screen to clean up everything by simply pressing one of the function keys
(e.g., if you are looking at "Flops" - F1, you can press F1 to clean up or
press F2, F3, F4 or F5, and then F1, etc.). You can change the pattern of the
image by repeatedly pressing the function key for the routine. If I get lots
of mail on this program I will consider adding more routines to it (maybe some
solids instead of just lines), maybe a color-change requester, a pause function
and possibly a construction-set type of thing where you can design your own
routines. Have Fun!!!